package com.shiguang.utils

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.shiguang.utils.databinding.ActivityLauncherLayoutBinding

class LauncherActivity  : AppCompatActivity()  {
    private lateinit var binding: ActivityLauncherLayoutBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        binding = ActivityLauncherLayoutBinding.inflate(layoutInflater)
        setContentView(binding.root)

        binding.textView.setOnClickListener{ view ->

            val intent = Intent(this@LauncherActivity, MainActivity::class.java)
            startActivity(intent)
        }
    }
}